<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>表格1</title>


    <style>
/* 
使用css设置边框，关键点：给td元素设置边框

注意：<table border="0">
 */
        table {
            width: 300px; 
            /* border-bottom: 1px solid #ff0000; 
            border-right: 1px solid #ff0000;  */
            border-bottom: 1px solid green; 
            border-right: 1px solid green; 
        }
        table td { 
            border-left: 1px solid #ff0000; 
            border-top: 1px solid #ff0000; 
            font-weight: normal; 
            padding: 1px; 
        }

    </style>

</head>

<body>
    <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td>January</td>
          <td>$100</td>
        </tr>
        <tr>
          <td>February</td>
          <td>$80</td>
        </tr>
      </table>

</body>

</html>